/**
 *  @author  xiaody <xiaody09@163.com>
 *  @description  CSS for option page.
 */

body {
	background:rgb(253,253,250);
	font-family: 微软雅黑;
}
::selection {
	background: rgb(213, 228, 255);
}
body::-webkit-scrollbar {width:10px;height:6px;}
body::-webkit-scrollbar-track-piece {background-color:#fff;}
body::-webkit-scrollbar-thumb {height:50px;background-color:#A4B6D2;border:2px solid #fff}
body::-webkit-scrollbar-thumb:hover {height:50px;background-color:#6C89B5;}
textarea::-webkit-scrollbar {width:8px;height:6px;}
textarea::-webkit-scrollbar-thumb {background-color:rgb(163, 163, 163);border:2px solid #fff;}
textarea::-webkit-scrollbar-thumb:hover {background-color:rgb(110, 110, 110);}

input[type='checkbox'] + span {
	cursor: pointer;
}
textarea:disabled {
	background-color: rgb(245, 245, 245);
	border: 1px solid rgb(197, 195, 195);
}
.hid {
	display: none;
}

#main-content {
	-webkit-user-select: none;
}
span, a {
	-webkit-user-select: text;
}

#navbar-container, .page:not([hidden]) {
	-webkit-animation-name: fadein;
	-webkit-animation-duration: 0.25s;
}
@-webkit-keyframes fadein {
	0% { opacity: 0.1; }
	100% { opacity: 1; }
}

.displaytable > section {
	padding: 20px 70px;
	font-size: 13px;
	border-bottom: 1px solid #EEE;
}

h1 > sub {
	font-size: 0.5em;
	color: Tomato;
	padding-left: 0.25em;
}

h3 {
	display: table-cell;
	float: left;
	color: #222;
	padding-top: 10px;
	margin-top: 0;
	width: 120px;
}
h3 + div {
	width: 400px;
	display: table-cell;
	padding-bottom: 10px;
}
h3 + div > p {
	color: #444;
	width: 400px;
}
a[rel] {
	color: #444;
	text-decoration: none;
	padding: 0 3px;
	margin: 0 2px;
	border-bottom: 1px dashed #444;
}
a:hover {
	color: rgb(71, 135, 237);
	border-bottom: none;
}
a:active {
	color: rgb(18, 100, 231);
}

.checkbox, .select {
	margin: 9px 0;
	width: 176px;
	float: left;
}
#image-search-engine {
	width: 85px;
}

#aboutPageNav {
	margin-top: 30px;
}
#navbar {
	margin-bottom: 30px;
}
#navbar + div {
	padding: 10px 40px;
	border-top: 1px solid #bbc;
}
#savebutton, #cancelbutton {
	padding: 4px 16px;
}

#quickEntranceEditor {
	width: 400px;
	height: 120px;
	outline-color: rgb(115, 162, 250);
}
#blacklistEditor {
	width: 400px;
	height: 150px;
	outline-color: rgb(115, 162, 250);
}
#userCSSEditor {
	min-width: 500px;
	min-height: 360px;
	outline-color: rgb(115, 162, 250);
}

#searchPageNav {
	-webkit-padding-start: 20px;
}
#search-field {
	margin: 0;
	width: 90%;
}
.search-highlighted {
	background-color: rgba(255, 240, 120, 0.9);
}

.cpb {
	float: right;
}

.saving-info {
	opacity: 0;
	text-align: center;
	line-height: 2.5em;
	color: rgb(253, 75, 19);
	background-color: rgb(255, 250, 142);
}
.saving-info-show {
	-webkit-animation-name: flash;
	-webkit-animation-duration: 2s;
}
@-webkit-keyframes flash {
	0% { opacity: 0; }
	15% { opacity: 1; }
	80% { opacity: 1; }
	100% { opacity: 0; }
}

.rating-stars {
	font-size: 100%;
}
.user-panel {
	width: 300px;
	height: 140px;
	border: #B0BADE solid 2px;
}

/* for the seamless iframe */
#person_info {
	display: none;
}
